<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第三题</title>
</head>
<body>
    <div id="app">
        <button @click="jian">-</button>
        <input type="number" min="1" max="10">
        <button @click="jia">+</button>
    </div>
</body>
<script src="./vue.js"></script>
<script>
    const{ createApp,ref}=Vue
    createApp({
        setup(){
            let a =ref(1)
            return {
                a
            }
        }

    }).mount('#app')

</script>
</html>